home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
- <background>
- <id>4138</id>
- <filler1>0</filler1>
- <bitmap>BMAP_6252.pbm</bitmap>
- <cantDelete> <true /> </cantDelete>
- <showPict> <true /> </showPict>
- <dontSearch> <false /> </dontSearch>
- <link rel="stylesheet" type="text/css" href="stylesheet_5038.css" />
- <part>
- <id>18</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>0</left>
- <top>3</top>
- <right>34</right>
- <bottom>33</bottom>
- </rect>
- <style>transparent</style>
- <showName> <false /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>1011</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Home</name>
- <script>on mouseUp
- go home
- end mouseUp
- </script>
- </part>
- <part>
- <id>20</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>279</left>
- <top>2</top>
- <right>313</right>
- <bottom>35</bottom>
- </rect>
- <style>transparent</style>
- <showName> <false /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>14767</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>New Button</name>
- <script>on mouseUp
- visual dissolve very fast
- go to background information
- end mouseUp
- </script>
- </part>
- <part>
- <id>21</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>335</left>
- <top>51</top>
- <right>507</right>
- <bottom>180</bottom>
- </rect>
- <style>scrolling</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>PlayList</name>
- <script></script>
- </part>
- <part>
- <id>22</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>372</left>
- <top>182</top>
- <right>483</right>
- <bottom>204</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Record</name>
- <script>on mouseUp
- global Record
- if (the short name of the target) = "Record" then
- set the name of target to "End Recording"
- if the optionkey is not down then
- put "" into field PlayList
- end if
- put 1 into Record
- else
- set the name of target to "Record"
- put empty into Record
- end if
-
- end mouseUp
- </script>
- </part>
- <part>
- <id>23</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>372</left>
- <top>206</top>
- <right>486</right>
- <bottom>228</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Play Recording</name>
- <script>on mouseUp
- if field PlayList is empty then
- answer "there ain't nothin' to play, idiot"
- else
- put 1 into x
- put 0 into thecowscomehome
- repeat until thecowscomehome = 1
- if line x of field PlayList is not empty then
- do line x of field PlayList
- repeat until the sound is "done"
- end repeat
- put x+1 into x
- else
- exit repeat
- end if
- end repeat
- end if
- end mouseUp
- </script>
- </part>
- <part>
- <id>24</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>370</left>
- <top>2</top>
- <right>470</right>
- <bottom>24</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Save PlayList</name>
- <script>on mouseUp
- put NewFileName("Save PlayList As?","") into FileName
- if FileName is empty then exit mouseup
- open file FileName
- write field PlayList to file FileName
- close file FileName
- end mouseUp
- </script>
- </part>
- <part>
- <id>25</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>371</left>
- <top>26</top>
- <right>471</right>
- <bottom>48</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Load PlayList</name>
- <script>on mouseUp
- put filename("TEXT") into ListFile
- if ListFile is empty then exit mouseup
- open file ListFile
- put 0 into thecowscomehome
- put "" into field PlayList
- repeat until thecowscomehome=1
- read from file Listfile until return
- if it is empty then
- close file ListFile
- exit mouseup
- else
- put it after field PlayList
- end if
- end repeat
- close file ListFile
- end mouseUp
- </script>
- </part>
- <part>
- <id>28</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>392</left>
- <top>291</top>
- <right>474</right>
- <bottom>310</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>New Card</name>
- <script>on mouseUp
- set lockscreen to true
- go to second card
- domenu copy card
- go to last card
- domenu paste card
- set lockscreen to false
- end mouseUp
- </script>
- </part>
- <part>
- <id>29</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>383</left>
- <top>309</top>
- <right>415</right>
- <bottom>340</bottom>
- </rect>
- <style>transparent</style>
- <showName> <false /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>902</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>New Button</name>
- <script>on mousedown
- set hilite of target to false
- if field number=1 then
- beep
- answer "This is the first sound card"
- exit mousedown
- end if
- put field Playlist into TempPlayList
- visual scroll right very fast
- go prev
- put TempPlayList into field PlayList
- end mousedown
- </script>
- </part>
- <part>
- <id>30</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>450</left>
- <top>308</top>
- <right>482</right>
- <bottom>339</bottom>
- </rect>
- <style>transparent</style>
- <showName> <false /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>26425</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>New Button</name>
- <script>on mousedown
- if (the number of this card) = (the number of last card-1) then
- beep
- answer "This is your last sound card"
- exit mousedown
- end if
- put field PlayList into TempPlayList
- visual scroll left very fast
- go next card
- put TempPlayList into field PlayList
- end mousedown
- </script>
- </part>
- <part>
- <id>31</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <true /> </lockText>
- <rect>
- <left>423</left>
- <top>316</top>
- <right>446</right>
- <bottom>334</bottom>
- </rect>
- <style>opaque</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>12</textSize>
- <textStyle>bold</textStyle>
- <textHeight>16</textHeight>
- <name>number</name>
- <script></script>
- </part>
- <part>
- <id>32</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>373</left>
- <top>251</top>
- <right>471</right>
- <bottom>272</bottom>
- </rect>
- <style>transparent</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Sound Studio</name>
- <script>on mousedown
- visual scroll left very fast
- go card Studio
- end mousedown
- </script>
- </part>
- <name>Sounds Template</name>
- <script>on mouseup
- global Record
- -- user has clicked outside of a button
- if (the short name of the target) is "sounds" then
- exit mouseup
- end if
- -- user has clicked an empty button
- if (the short name of the target) is space then
- choose button tool
- click at loc of target
- domenu "button info..."
- choose browse tool
- exit mouseup
- end if
- -- check if we are recording or playing
- if Record is empty then
- play (the short name of the target)
- exit mouseup
- else
- put "Play " after field PlayList
- put quote &(the short name of the target)& quote after field PlayList
- put return after field PlayList
- end if
- end mouseup
-
- on closebackground
- set the name of background button id 22 to "Record"
- if field PlayList is not empty then
- answer "do you want to save your PlayList?" with "Cancel" or "OK"
- if it is "OK" then
- put NewFileName("Save PlayList As?","") inot ListName
- if ListName is not empty then
- open file ListName
- write field PlayList to file Listname
- close file ListName
- end if
- end if
- put "" into field PlayList
- end if
- end closebackground
-
- on openbackground
- global record
- put "" into record
- end openbackground
- </script>
- </background>
-